package edu.software.cakehomework.service;

import edu.software.cakehomework.dto.LoginRequest;
import edu.software.cakehomework.dto.RegisterRequest;
import edu.software.cakehomework.entity.Account;

public interface AccountService {
    Account register(RegisterRequest request);
    Account login(LoginRequest request);
    Account getAccountById(Integer id);
    Account getAccountByEmail(String email);
}
